using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public enum WeaponType
{
    Magic,
    Melee
}

[CreateAssetMenu(fileName = "Weapon", menuName = "游戏SO文件/武器")]
public class Weapon : ScriptableObject
{
    [Header("配置")]
    public Sprite icon;
    public WeaponType weaponType;
    public float damage;

    [Header("射弹")]
    public Projectile projectilePrefab;
    public float requiredMana;
}
